from fastapi import APIRouter

from app.controllers.admin.base import auth
from app.controllers.admin.base import myself
from app.controllers.admin.monitor import log
from app.controllers.admin.monitor import task
from lemon.app.controllers.admin.monitor import os
from app.controllers.admin.monitor import cache
from app.controllers.admin.system import menu
from app.controllers.admin.system import user
from app.controllers.admin.system import dept
from app.controllers.admin.system import role


router = APIRouter(prefix="/v1")


router.include_router(auth.router, prefix="/base/auth", tags=["授权管理"])
router.include_router(myself.router, prefix="/base/myself", tags=["个人中心"])
router.include_router(log.router, prefix="/monitor/log", tags=["系统监控-日志管理"])
router.include_router(task.router, prefix="/monitor/task", tags=["系统监控-任务管理"])
router.include_router(os.router, prefix="/monitor/os", tags=["系统监控-系统信息"])
router.include_router(cache.router, prefix="/monitor/cache", tags=["系统监控-缓存数据"])
router.include_router(menu.router, prefix="/system/menu", tags=["系统管理-菜单管理"])
router.include_router(user.router, prefix="/system/user", tags=["系统管理-用户管理"])
router.include_router(dept.router, prefix="/system/dept", tags=["系统管理-部门管理"])
router.include_router(role.router, prefix="/system/role", tags=["系统管理-角色管理"])